import {_decorator, Animation} from 'cc';
import FSMState from "db://assets/scripts/state/FSMState";

const {ccclass, property} = _decorator;

export default class DieState extends FSMState {

    onEnter() {
        super.onEnter();
        this.component.getComponent(Animation).play("bird_die");
    }

    onUpdate() {
        super.onUpdate();
    }
}